<template>
	<view class="content">
		<!-- 头部 -->
		<view class="header">
			<view class="headerOne">
				<u-icon class="u-icon" name="arrow-left" color="#fff" size="18" @click="back"></u-icon>
				<span>乘客列表</span>
				<span></span>
			</view>
			<view class="headerTwo">
				<span>
					<u-icon class="u-icon" name="man-add" color="#fff" size="36"></u-icon>
				</span>
				<p>138012345678</p>
				<view class="headerTwoA">
					<span>切换账号</span>
					<span><u-icon class="u-icon" name="arrow-right" color="#fff" size="14"></u-icon></span>
				</view>
			</view>
		</view>
		<!-- 中间 -->
		<view class="main">
			<view class="mainOne">
				<view class="mainOneA">
					<u-icon name="plus-circle" color="#2dadc0" size="18"></u-icon>
					<p>新增乘客</p>
				</view>
			</view>
			<view class="mainTwo">
				
			</view>
			<view class="mainThird">
				<p>下拉可刷新乘客列表</p>
			</view>
			<view class="mainFour">
				<view class="mainLfet">
					<view class="mainLfetIcon">
						<u-icon  name="edit-pen" color="#ccc" size="26"></u-icon>
					</view>
					
				</view>
				<view class="mainMid">
					<view class="mainMidOne">
						<p>{{name}}</p>
						<p>{{piao}}</p>
					</view>
					
					<view class="mainMidTwo">
						<p>{{numberId}}</p>
					</view>
					
				</view>
				<view class="mainRight">
					<view class="mainRightIcon">
						<radio color="skyblue" name="gender" value="male"></radio>
					</view>
				</view>
			</view>
			<view class="mainFive">
				<view class="mainLfets">
					<view class="mainLfetIcons">
						<u-icon  name="edit-pen" color="#ccc" size="26"></u-icon>
					</view>
					
				</view>
				<view class="mainMids">
					<view class="mainMidOnes">
						<p>{{name1}}</p>
						<p>{{piao}}</p>
					</view>
					
					<view class="mainMidTwos">
						<p>{{numberId}}</p>
					</view>
					
				</view>
				<view class="mainRights">
					<view class="mainRightIcons">
						<radio color="skyblue" name="gender" value="male"></radio>
					</view>
				</view>
			</view>
		</view>
		<!-- 底部 -->
		<view class="foot">
			<view class="footOne">
				<p>本次购票服务由八维票务提供</p>
			</view>
			<view class="footTwo" @click="queding">
				确定
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name:'王一默',
				name1:'李一一',
				piao:'成人票',
				numberId:'身份证110102**********28'
			}
		},
		methods: {
			back(){
				uni.navigateBack({
					delta:2
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		width: 100vw;
		height: 100vh;
		background: #f5f5f5;
		
		.header {
			width: 100%;
			height: 22vh;
			background: #01acbe;
		
			.headerOne {
				width: 100%;
				height: 60rpx;
				display: flex;
				padding-top: 80rpx;
				justify-content: space-between;
				color: #fff;
		
				span:nth-child(2) {
					margin-left: -40rpx;
				}
			}
		
			.headerTwo {
				width: 100%;
				height: 100rpx;
				margin-top: 30rpx;
				display: flex;
				align-items: center;
				justify-content: space-around;
				color: #fff;
		
				p {
					margin-left: -120rpx;
				}
		
				.headerTwoA {
					display: flex;
					align-items: center;
					margin-left: 100rpx;
		
					span:nth-child(1) {
						font-size: 26rpx;
					}
				}
			}
		}
		
		.main{
			width: 90%;
			height: 40vh;
			margin: 0 auto;
			margin-top: 20rpx;
			border-radius: 20rpx;
			background: #fff;
			
			.mainOne {
				width: 100%;
				height: 80rpx;
				border-radius: 10rpx;
				display: flex;
				justify-content: center;
			
				.mainOneA {
					width: 180rpx;
					justify-content: space-between;
					align-items: center;
					height: 100%;
					display: flex;
					color: #01acbe;
			
					image {
						width: 40rpx;
						height: 30rpx;
					}
				}
			}
			
			.mainTwo{
				width: 100%;
				height: 20rpx;
				background: #f5f5f5;
			}
			
			.mainThird{
				width: 100%;
				height: 100rpx;
				border-bottom: 2rpx solid #f5f5f5;
				p{
					font-size: 26rpx;
					color: #a8adb3;
					line-height: 100rpx;
					text-align: center;
				}
			}
			
			.mainFour,{
				width: 100%;
				height: 160rpx;
				border-bottom: 2rpx solid #f5f5f5;
				display: flex;
				justify-content: space-around;
				.mainLfet{
					width: 100rpx;
					height: 100%;
					.mainLfetIcon{
						width: 100%;
						height: 100%;
						display: flex;
						align-items: center;
						justify-content: center;
					}
				}
				.mainMid{
					width: 400rpx;
					height: 100%;
					
					.mainMidOne{
						width: 100%;
						height: 100rpx;
						display: flex;
						align-items: center;
						
						p:nth-child(1){
							font-weight: 800;
						}
						p:nth-child(2){
							width: 80rpx;
							text-align: center;
							height: 30rpx;
							font-size: 20rpx;
							color: #ccc;
							border: 1rpx solid #ccc;
							margin-left: 10rpx;
						}
					}
					.mainMidTwo{
						width: 100%;
						height: 0rpx;
						font-size: 26rpx;
						color: #ccc;
					}
				}
				.mainRight{
					width: 100rpx;
					height: 100%;
					.mainRightIcon{
						width: 100%;
						height: 100%;
						display: flex;
						align-items: center;
						justify-content: center;
					}
				}
			}
			
			.mainFive{
				width: 100%;
				height: 160rpx;
				display: flex;
				justify-content: space-around;
				.mainLfets{
					width: 100rpx;
					height: 100%;
					.mainLfetIcons{
						width: 100%;
						height: 100%;
						display: flex;
						align-items: center;
						justify-content: center;
					}
				}
				.mainMids{
					width: 400rpx;
					height: 100%;
					
					.mainMidOnes{
						width: 100%;
						height: 100rpx;
						display: flex;
						align-items: center;
						
						p:nth-child(1){
							font-weight: 800;
						}
						p:nth-child(2){
							width: 80rpx;
							text-align: center;
							height: 30rpx;
							font-size: 20rpx;
							color: #ccc;
							border: 2rpx solid #ccc;
							margin-left: 10rpx;
						}
					}
					.mainMidTwos{
						width: 100%;
						height: 0rpx;
						font-size: 26rpx;
						color: #ccc;
					}
				}
				.mainRights{
					width: 100rpx;
					height: 100%;
					.mainRightIcons{
						width: 100%;
						height: 100%;
						display: flex;
						align-items: center;
						justify-content: center;
					}
				}
			}
			
		}
		
		.foot {
			width: 100%;
			height: 28vh;
		
			.footOne {
				p {
					font-size: 26rpx;
					color: #ccc;
					text-align: center;
					padding-top: 60rpx;
				}
			}
		
			.footTwo {
				width: 90%;
				height: 80rpx;
				border-radius: 40rpx;
				margin: 0 auto;
				background-color: #01acbe;
				color: #fff;
				line-height: 80rpx;
				text-align: center;
				margin-top: 260rpx;
			}
		}
	}
</style>
